package com.xl.qa.entity.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 钟勇
 * Create in 2024/2/4 15:15
 */
@Data
@Accessors(chain = true)
public class UpdIndexBannerParam {
    @NotNull(message = "bannerId不能为空")
    private Integer bannerId;

    @Schema(name = "广告标题")
    private String title;

    @Schema(name = "广告图片")
    private String imgUrl;

    @Schema(name = "跳转url")
    private String targetUrl;

    @Schema(name = "广告排序")
    private Integer sortIndex;
}
